Optimal. Leaf size=55 \[ -\frac {26}{5 \sqrt {2 x+3}}+12 \tanh ^{-1}\left (\sqrt {2 x+3}\right )-\frac {34}{5} \sqrt {\frac {3}{5}} \tanh ^{-1}\left (\sqrt {\frac {3}{5}} \sqrt {2 x+3}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.05, antiderivative size = 55, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 4, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.148, Rules used = {828, 826, 1166, 207} \[ -\frac {26}{5 \sqrt {2 x+3}}+12 \tanh ^{-1}\left (\sqrt {2 x+3}\right )-\frac {34}{5} \sqrt {\frac {3}{5}} \tanh ^{-1}\left (\sqrt {\frac {3}{5}} \sqrt {2 x+3}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 207
Rule 826
Rule 828
Rule 1166
Rubi steps
\begin {align*} \int \frac {5-x}{(3+2 x)^{3/2} \left (2+5 x+3 x^2\right )} \, dx &=-\frac {26}{5 \sqrt {3+2 x}}+\frac {1}{5} \int \frac {-9-39 x}{\sqrt {3+2 x} \left (2+5 x+3 x^2\right )} \, dx\\ &=-\frac {26}{5 \sqrt {3+2 x}}+\frac {2}{5} \operatorname {Subst}\left (\int \frac {99-39 x^2}{5-8 x^2+3 x^4} \, dx,x,\sqrt {3+2 x}\right )\\ &=-\frac {26}{5 \sqrt {3+2 x}}+\frac {102}{5} \operatorname {Subst}\left (\int \frac {1}{-5+3 x^2} \, dx,x,\sqrt {3+2 x}\right )-36 \operatorname {Subst}\left (\int \frac {1}{-3+3 x^2} \, dx,x,\sqrt {3+2 x}\right )\\ &=-\frac {26}{5 \sqrt {3+2 x}}+12 \tanh ^{-1}\left (\sqrt {3+2 x}\right )-\frac {34}{5} \sqrt {\frac {3}{5}} \tanh ^{-1}\left (\sqrt {\frac {3}{5}} \sqrt {3+2 x}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.04, size = 55, normalized size = 1.00 \[ -\frac {26}{5 \sqrt {2 x+3}}+12 \tanh ^{-1}\left (\sqrt {2 x+3}\right )-\frac {34}{5} \sqrt {\frac {3}{5}} \tanh ^{-1}\left (\sqrt {\frac {3}{5}} \sqrt {2 x+3}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.53, size = 95, normalized size = 1.73 \[ \frac {17 \, \sqrt {5} \sqrt {3} {\left (2 \, x + 3\right )} \log \left (-\frac {\sqrt {5} \sqrt {3} \sqrt {2 \, x + 3} - 3 \, x - 7}{3 \, x + 2}\right ) + 150 \, {\left (2 \, x + 3\right )} \log \left (\sqrt {2 \, x + 3} + 1\right ) - 150 \, {\left (2 \, x + 3\right )} \log \left (\sqrt {2 \, x + 3} - 1\right ) - 130 \, \sqrt {2 \, x + 3}}{25 \, {\left (2 \, x + 3\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.18, size = 74, normalized size = 1.35 \[ \frac {17}{25} \, \sqrt {15} \log \left (\frac {{\left | -2 \, \sqrt {15} + 6 \, \sqrt {2 \, x + 3} \right |}}{2 \, {\left (\sqrt {15} + 3 \, \sqrt {2 \, x + 3}\right )}}\right ) - \frac {26}{5 \, \sqrt {2 \, x + 3}} + 6 \, \log \left (\sqrt {2 \, x + 3} + 1\right ) - 6 \, \log \left ({\left | \sqrt {2 \, x + 3} - 1 \right |}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 53, normalized size = 0.96 \[ -\frac {34 \sqrt {15}\, \arctanh \left (\frac {\sqrt {15}\, \sqrt {2 x +3}}{5}\right )}{25}-6 \ln \left (-1+\sqrt {2 x +3}\right )+6 \ln \left (\sqrt {2 x +3}+1\right )-\frac {26}{5 \sqrt {2 x +3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.37, size = 70, normalized size = 1.27 \[ \frac {17}{25} \, \sqrt {15} \log \left (-\frac {\sqrt {15} - 3 \, \sqrt {2 \, x + 3}}{\sqrt {15} + 3 \, \sqrt {2 \, x + 3}}\right ) - \frac {26}{5 \, \sqrt {2 \, x + 3}} + 6 \, \log \left (\sqrt {2 \, x + 3} + 1\right ) - 6 \, \log \left (\sqrt {2 \, x + 3} - 1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 2.37, size = 38, normalized size = 0.69 \[ 12\,\mathrm {atanh}\left (\sqrt {2\,x+3}\right )-\frac {34\,\sqrt {15}\,\mathrm {atanh}\left (\frac {\sqrt {15}\,\sqrt {2\,x+3}}{5}\right )}{25}-\frac {26}{5\,\sqrt {2\,x+3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 76.67, size = 102, normalized size = 1.85 \[ \frac {102 \left (\begin {cases} - \frac {\sqrt {15} \operatorname {acoth}{\left (\frac {\sqrt {15} \sqrt {2 x + 3}}{5} \right )}}{15} & \text {for}\: 2 x + 3 > \frac {5}{3} \\- \frac {\sqrt {15} \operatorname {atanh}{\left (\frac {\sqrt {15} \sqrt {2 x + 3}}{5} \right )}}{15} & \text {for}\: 2 x + 3 < \frac {5}{3} \end {cases}\right )}{5} - 6 \log {\left (\sqrt {2 x + 3} - 1 \right )} + 6 \log {\left (\sqrt {2 x + 3} + 1 \right )} - \frac {26}{5 \sqrt {2 x + 3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________